﻿<%@ Page Language="C#" EnableViewState="false" AutoEventWireup="true" CodeFile="tab_Statistics_List.aspx.cs" Inherits="AdminCMS_tab_Statistics_List" %>

<%@ Register Src="~/UIControls/ProSplitPage.ascx" TagName="ProSplitPage" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>流量统计列表浏览</title>
<style type="text/css">
td {text-align:left;}
.list_title { padding-left:20px; height:22px;}
</style>

<script type="text/javascript" src="js/UIMethod.js"></script>

</head>

<body style="text-align:center;">
<script type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
<form id="form1" runat="server">

<div style="text-align:center;" class="nav_menu">
		搜索：
		起始日期：<asp:TextBox ID="txt_sdate" runat="server" Columns="10" onfocus="WdatePicker({readOnly:true,skin:'simple'});" style="cursor:hand;"></asp:TextBox>&nbsp;
	    结束日期：<asp:TextBox ID="txt_edate" runat="server" Columns="10"  onfocus="WdatePicker({readOnly:true,skin:'simple'});" style="cursor:hand;"></asp:TextBox>&nbsp;	
		IP&nbsp;like:<asp:TextBox ID="txt_keyword" runat="server" Columns="10"></asp:TextBox>&nbsp;
		<input type="button" value="搜索" onclick="SearchEvent();" />
		<br />
		前地址：<asp:TextBox ID="txt_FromURL" runat="server"></asp:TextBox>&nbsp;
	    访问地址：<asp:TextBox ID="txt_ToURL" runat="server"></asp:TextBox>
</div>

<table cellpadding="0" cellspacing="0" width="100%" border="0" class="border">
	<tr>		
		<td class="title_left" style="padding-left:20px;">自动编号</td>
		<td class="title_left" style="padding-left:20px;">IP地址</td>
		<td class="title_left" style="padding-left:20px;">前地址</td>
		<td class="title_left" style="padding-left:20px;">访问地址</td>
		<td class="title_left" style="padding-left:20px;">访问时间</td>		
	</tr>
	
	<!-- 重复区 start -->
	<asp:Repeater ID="repeater1" Runat="server">
		<ItemTemplate>
		
		<tr onmouseover="this.className='tdbg_left';" onmouseout="this.className='';">			
            <td class="list_title"><%# Eval("sta_ID") %></td>
            <td class="list_title"><%# Eval("sta_IPAddress") %></td>
            <td class="list_title"><%# Eval("sta_FromURL") %></td>
            <td class="list_title"><%# Eval("sta_ToURL") %></td>
            <td class="list_title"><%# Eval("sta_VisitDate") %></td>			
		</tr>		
		</ItemTemplate>
	</asp:Repeater>
	<!-- 重复区 end -->
</table>
<!--阴影-->
	<div style="width:98%;" class="tdbg_left2">
	</div>
	<!--阴影end-->


<!-- 分页控件 start -->
<div style="text-align:right;"><uc1:ProSplitPage ID="ProSplitPage1" runat="server" MaxRows="20" /></div>
<!-- 分页控件 end -->

</form>
</body>
</html>
<link id="mylink" href="css/style<%=UIMethod.GetStyleValue()%>.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript">
function SearchEvent(URL)
{
	if(typeof(URL) == 'undefined') { URL = ''; }
	location = URL + '?sdate=' + document.getElementById('txt_sdate').value + 
            '&edate=' + document.getElementById('txt_edate').value + 
            '&keyword=' + escape( document.getElementById('txt_keyword').value ) +
            '&fromurl=' + escape( document.getElementById('txt_FromURL').value ) +
            '&tourl=' + escape( document.getElementById('txt_ToURL').value );
}
</script>
